package com.naruto.thinkmgr;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

/**
 * Hello world!
 */
@SpringBootApplication//相当于@Configuration,@EnableAutoConfiguration,@CompnentScan
@ImportResource(locations={"classpath:dubbo.xml"}) //加载dubbo配置，dubbo用@Bean来配置会有些问题和冲突
public class WebApp {
    public static void main(String[] args) {
        SpringApplication.run(WebApp.class, args);
    }
}
